home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / pc / Shout3Ddemo / S3D_2E1.1.sit / Shout3d_2.0 / docs / workflow_tutorial / references / shoutbox.S3D < prev    next >
Text File  |  2000-10-13  |  2KB  |  64 lines

  1.  
  2. Transform {
  3.    translation 0 0 0
  4.    children [
  5.       Shape {
  6.          appearance [
  7.             MultiAppearance {
  8.                material Material {
  9.                   diffuseColor 0.5373 0.1961 0.1961
  10.                   specularColor 0.045 0.045 0.045
  11.                   shininess 0.25
  12.                   transparency 0
  13.                }
  14.                diffuseMap DiffuseMap {
  15.                   texture ImageTexture {
  16.                      url "shout3dlogo.gif"
  17.                   }
  18.                }
  19.             }
  20.          ]
  21.          geometry MultiMesh {
  22.             coord Coordinate {
  23.                point [
  24.                   -50 0 50, 50 0 50, -50 0 -50, 50 0 -50,
  25.                   -50 100 50, 50 100 50, -50 100 -50, 50 100 -50
  26.                ]
  27.             }
  28.             coordIndex [
  29.                0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1
  30.                0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1
  31.                3 2 6 -1 6 7 3 -1   2 0 4 -1 4 6 2 -1
  32.             ]
  33.             smoothingIndex [
  34.                2 -1 2 -1 3 -1 3 -1 4 -1 4 -1
  35.                5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  36.             ]
  37.             appearanceIndex [
  38.                1 1 0 0 4 4 3 3 5 5 2 2
  39.             ]
  40.             textureMappings [
  41.                TextureMapping {
  42.                   texCoord TextureCoordinate {
  43.                      point [
  44.                         1 0, 0 0, 0 0, 0 0, 1 1, 0 1,
  45.                         0 1, 0 1, 1 0, 1 1, 0 1, 0 1
  46.                         0 0, 1 0, 0 0, 1 0, 1 1, 1 1,
  47.                         0 1, 0 0, 0 0,   1 0, 1 1, 1 1,
  48.                         0 1, 0 0, 0 0, 1 0, 1 1, 1 1,
  49.                         0 0, 1 0, 1 1, 1 1, 0 0, 1 1
  50.                      ]
  51.                   }
  52.                   texCoordIndex [
  53.                      8 9 10 -1 11 12 13 -1 14 15 16 -1
  54.                      17 18 19 -1 20 21 22 -1 23 24 25 -1
  55.                      26 27 28 -1   29 5 1 -1 30 31 32 -1
  56.                      33 7 3 -1 34 0 35 -1 4 6 2 -1
  57.                   ]
  58.                }
  59.             ]
  60.          }
  61.       }
  62.    ]
  63. }
  64.